cmake_minimum_required(VERSION 3.10) 
# set the project name 
project(LearnSystemC) 

set (CMAKE_CXX_STANDARD 11)

# complie third_party and add header file path
include_directories(third_party/systemc/include)
link_directories(third_party/systemc/lib)

include_directories(include)

add_executable(LearnSystemC src/main.cpp)
target_link_libraries(LearnSystemC systemc)

add_subdirectory(example/full_add)
add_subdirectory(example/uart)
add_subdirectory(example/pipe)

